package com.itheima.project.hystrix;

import com.itheima.project.basic.ResponseWrap;
import com.itheima.project.feign.UserAdapterFeign;
import com.itheima.project.vo.security.ResourceVo;
import com.itheima.project.vo.security.RoleVo;
import com.itheima.project.vo.security.UserVo;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @ClassName UserAdapterHtstrix.java
 * @Description UserAdapterFeign的Htstrix
 */
@Component
public class UserAdapterHtstrix implements UserAdapterFeign {

    @Override
    public ResponseWrap<UserVo> findUserByUsernameAndEnterpriseId(String username, Long enterpriseId) {
        return null;
    }

    @Override
    public ResponseWrap<UserVo> findUserByMobileAndEnterpriseId(String mobile, Long enterpriseId) {
        return null;
    }

    @Override
    public ResponseWrap<UserVo> findUserByOpenIdAndEnterpriseId(String openId, Long enterpriseId) {
        return null;
    }

    @Override
    public ResponseWrap<List<RoleVo>> findRoleByUserId(Long userId) {
        return null;
    }

    @Override
    public ResponseWrap<List<ResourceVo>> findResourceByUserId(Long userId) {
        return null;
    }

    @Override
    public ResponseWrap<UserVo> findCurrentUser(Long userId) {
        return null;
    }

    @Override
    public ResponseWrap<UserVo> registerUser(UserVo userVo) {
        return null;
    }
}
